/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bea.cliente.gui.controllers;

import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.controls.window.WindowControl;
import de.lessvoid.nifty.elements.Element;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.xml.xpp3.Attributes;
import java.util.ArrayList;
import java.util.Properties;

/**
 *
 * @author ivan
 */
public class GraphicsOptionsWindowController extends WindowControl {

    private Nifty nifty;
    private Screen screen;
    private Element element;

    public GraphicsOptionsWindowController() {
        super();
    }

    @Override
    public void bind(Nifty nifty, Screen screen, Element element, Properties parameter, Attributes controlDefinitionAttributes) {
        super.bind(nifty, screen, element, parameter, controlDefinitionAttributes);
        this.nifty = nifty;
        this.screen = screen;
        this.element = element;
    }

    @Override
    public void onStartScreen() {
    }

    @Override
    public void closeWindow() {
        getElement().hide();
    }

}
